package com.maycari.captainbi.data.dto;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 同步记录表
 * </p>
 *
 * @author 王宏伟
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SyncRecordDto对象", description = "同步记录表")
public class SyncRecordDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private String id;

    @ApiModelProperty(value = "授权管理表id")
    private Integer authorizationId;

    @ApiModelProperty(value = "请求参数")
    private String params;

    @ApiModelProperty(value = "请求地址")
    private String url;

    @ApiModelProperty(value = "是否成功 0否  1成功 2失败次数过多")
    private Integer status;

    @ApiModelProperty(value = "失败次数")
    private Integer syncCount;

    @ApiModelProperty(value = "创建人")
    private Integer createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人")
    private Integer modifyBy;

    @ApiModelProperty(value = "修改时间")
    private Date modifyTime;

    @ApiModelProperty(value = "错误信息")
    private String msg;

}
